package com.gopay.common.domain.dps;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.gopay.common.domain.BaseEntity;
import javax.persistence.GeneratedValue;
import javax.persistence.SequenceGenerator;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;

@Entity
@Table(name = "WA_CLICK_STATISTICS")
public class WaClickStatistics extends BaseEntity {
	private static final long serialVersionUID = -4561302449872037261L;
	private Integer id;
	private String research_name;
    private String device_name;
    private String ip;
    private Date click_time;
    
    
	@Id
    @Column(name = "ID")
    @GeneratedValue(strategy=GenerationType.SEQUENCE,generator="WA_CLICK_ID_SEQ")
    @SequenceGenerator(name="WA_CLICK_ID_SEQ",allocationSize=1,initialValue=1,sequenceName="WA_CLICK_ID_SEQ")
    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	
	@Column(name = "RESEARCH_NAME")
    public String getResearch_name() {
		return research_name;
	}

	public void setResearch_name(String research_name) {
		this.research_name = research_name;
	}
	@Column(name = "DEVICE_NAME")
	public String getDevice_name() {
		return device_name;
	}

	public void setDevice_name(String device_name) {
		this.device_name = device_name;
	}
	@Column(name = "IP")
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}
	@Column(name = "CLICKTIME")
	@Temporal(TemporalType.TIMESTAMP)
	public Date getClick_time() {
		return click_time;
	}

	public void setClick_time(Date click_time) {
		this.click_time = click_time;
	}
}
